<template>
  <back-btn></back-btn>
  <div id="app">
    <h2>{{ name }}</h2>
    <h3>{{ age }}</h3>
  </div>
</template>

<script lang="ts">
import { defineComponent, reactive, toRefs } from "vue";

export default defineComponent({
  setup() {
    const userInfo = reactive({
      name: "温情",
      age: 23,
    });

    return {
      ...toRefs(userInfo),
    };
  },
});
</script>
